import request from '@/plugins/request';

export const getDeviceModelList = (data) => {
  return request({
    url: '/deviceModel/find',
    method: 'post',
    data
  })
}

export const refreshDeviceModelList = (data) => {
  return request({
    url: '/deviceModel/refresh',
    method: 'post',
    data
  })
}

export const getProductList = (data) => {
  return request({
    url: '/product/find',
    method: 'post',
    data
  })
}

export const refreshProductList = (data) => {
  return request({
    url: '/product/refresh',
    method: 'post',
    data
  })
}
